
local cmdname = "aids_kill"

if CLIENT then

	AIDS.RegisterCommand( "Kill", cmdname, "slay" ) 

else
	
	local function KillPlayer( ply, cmd, args )
	
		local target = AIDS.GetPlayer( args[1] )
		
		if target then
		
			target:Kill()
			
			AIDS.ChatPrint( { target, " was slain by ", ply, "." } )
		
		end
	
	end
	
	AIDS.AddCommand( KillPlayer, cmdname )
	
end